Skip to main content

markAsRead

Mark a message as read

GraphQL Schema

extend type mutation {
"""Mark a message as read"""
markAsRead(input: MarkAsReadInput!): MarkAsReadPayload!
}

Arguments

NameTypeDescription
input[MarkAsReadInput!](/04-reference/05-Input Objects/MarkAsReadInput.mdx)

Response Shape

This mutation returns MarkAsReadPayload!

NameTypeDescription
successBoolean!Whether the mutation was successful
errorErrorTypeError information
messageIds[ID]